package com.aaa.entity;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

/**
 * @author ：肖成杰（1752167034@qq.com）
 * @date ：Created in 2022/8/9 15:50
 * @description：
 * @modified By：
 * @version:
 */
@Data
public class Result {
    private Integer code;
    private String msg;
    private Long count;
    private Object data;

    public Result(Integer code, String msg, Long count, Object data) {
        this.code = code;
        this.msg = msg;
        this.count = count;
        this.data = data;
    }

    public Result() {
    }
}